
import React, { Component } from 'react';
import { StyleSheet, Text, View, ScrollView, Dimensions, PropTypes } from 'react-native';
import ColorBorderView from '../commonComponent/colorBorderView';

//import ButtonActionFunction from './wrapButtonActionFunction';
//import WrapButtonCard from './wrapButtonCard';
//import Welcome from './welcome';
//import TestFlexMode from './testMode';
//import FirstPageView from './firstPageView';

//const actionFunction = new ButtonActionFunction;
const _windows = Dimensions.get('window');

const topData = ['欢迎您来到第三页!'];

class ThirdHomePageView extends Component {
    static propTypes = {

    }

    constructor(props, context) {
        super(props, context);
    };

    _onPressButton(index){

    };

    render() {
        return (
            <ScrollView style={styles.containerScrollView} >
                <View style={styles.container} >
                    <ColorBorderView dataArray={topData}/>
                </View>
            </ScrollView>
        );
    }
}

const styles = StyleSheet.create({
    containerScrollView: {
        backgroundColor: '#F5FCFF'
    },
    container: {
        flex: 1,
        justifyContent: 'flex-start',
        alignItems: 'center',
        borderColor:'#cccccc',
        borderTopWidth:1
    }

});

export default ThirdHomePageView;